<?php $this->load->view('layout/header');?>
<div class="supplier-content-page">
    <div class="product-test-h5">
        <ul class="breadcrumb">
            <li><a href="javascript:;">消息</a></li>
            <li><a href="<?php echo site_url('mailbax/receiveBox')?>">站内信</a></li>
            <li class="active"><a href="<?php echo site_url('mailbax/add')?>">写信</a></li>
        </ul>
        <?php echo execute_alert_message();?>
        <div class="add-product">
            <div class="fonter">写信</div>
            <form class="form-horizontal public-validate-form" action="<?php echo site_url('mailbox/save')?>" method="post" enctype="multipart/form-data">
                <div class="form-group">
                    <label class="col-sm-1 control-label"><em>* </em>收信人</label>
                    <div class="col-xs-3">
                        <input type="hidden" name="type" value="2" />
                        <input type="text" name="sid" class="form-control required" placeholder="请输入收信人用户名"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label"><em>* </em>主题</label>
                    <div class="col-xs-3">
                        <input type="text" name="title" class="form-control required"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label"><em>* </em>正文</label>
                    <div class="col-xs-4">
                        <textarea rows="5" name="content" class="form-control required"></textarea>
                    </div>
                </div>
                <div class="supplierlist-submit">
                    <button type="submit" class="btn btn-default">发送</button>
                    <a href="<?php echo site_url('mailbox/receiveBox');?>">返回上一级</a>
                </div>
            </form>
        </div>
    </div>
</div>
<?php $this->load->view('layout/footer');?>